package com.hh.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吉吉国王
 * @since 2022-12-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员号
     */
    private String id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 入会时间
     */
    private String date;

    /**
     * 会员点数
     */
    private String points;

    /**
     * 押金
     */
    private String cash;
    /**
     * 当前属性表中不存在
     */
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String password;

}
